package cn.org.timespace.easyframe.model.permission;

import java.util.Date;

/**
 * SystemMessage entity. @author MyEclipse Persistence Tools
 */

public class SystemMessage implements java.io.Serializable {

	// Fields

	private String smId;
	private String title;
	private String content;
	private EfOrg efOrg;
	private Date startDate;
	private Date endDate;
	private String operatorUser;
	private Date operatorDate;
	private String editUser;
	private Date editDate;
	private String dicMsgType;

	// Constructors

	public EfOrg getEfOrg() {
		return efOrg;
	}

	/** default constructor */
	public SystemMessage() {
	}

	/** minimal constructor */
	public SystemMessage(String smId, String title, String content,
			String orgCode, Date startDate, Date endDate, String operatorUser,
			Date operatorDate, String docMsgType) {
		this.smId = smId;
		this.title = title;
		this.content = content;
		this.startDate = startDate;
		this.endDate = endDate;
		this.operatorDate = operatorDate;
		this.dicMsgType = docMsgType;
	}

	/** full constructor */
	public SystemMessage(String smId, String title, String content,
			String orgCode, Date startDate, Date endDate, String operatorUser,
			Date operatorDate, String editUser, Date editDate, String docMsgType) {
		this.smId = smId;
		this.title = title;
		this.content = content;
		this.startDate = startDate;
		this.endDate = endDate;
		this.operatorDate = operatorDate;
		this.editDate = editDate;
		this.dicMsgType = docMsgType;
	}

	public String getSmId() {
		return smId;
	}

	public void setSmId(String smId) {
		this.smId = smId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public String getOperatorUser() {
		return operatorUser;
	}

	public void setOperatorUser(String operatorUser) {
		this.operatorUser = operatorUser;
	}

	public Date getOperatorDate() {
		return operatorDate;
	}

	public void setOperatorDate(Date operatorDate) {
		this.operatorDate = operatorDate;
	}

	public String getEditUser() {
		return editUser;
	}

	public void setEditUser(String editUser) {
		this.editUser = editUser;
	}

	public Date getEditDate() {
		return editDate;
	}

	public void setEditDate(Date editDate) {
		this.editDate = editDate;
	}

	public String getDicMsgType() {
		return dicMsgType;
	}

	public void setDicMsgType(String dicMsgType) {
		this.dicMsgType = dicMsgType;
	}

	public void setEfOrg(EfOrg efOrg) {
		this.efOrg = efOrg;
	}

}